package decorator.startbuzz;

import decorator.startbuzz.Beverage;

/**
 * HouseBlend 咖啡
 *
 * @author jacob
 * @Date 2020/12/5 02:01
 */
public class HouseBlend extends Beverage {

    private double houseBlendCost;

    public HouseBlend(double houseBlendCost){
        this.houseBlendCost = houseBlendCost;
        setDescription("this is HouseBlend");
    }

    @Override
    public double cost(){
        return houseBlendCost + super.cost();
    }
}
